Return

Edit Task: ResourceFormula

Format

SCHED / EditTask '<TaskName>' ResourceFormula <CreateSTKAccessReport> '<Formula>'

Description

The ResourceFormula attribute under EditTask defines the resources that this task uses.

Parameters

Parameter Description
CreateSTKAccessReport Options are Yes, ExcludeSpaceToSpace, or No. If Yes is selected, then for each possibility, the default STK access report will be created and applied to that possibility for timeslot creation.
If ExcludeSpaceToSpace is selected, STK access reports between space objects will be excluded during timeslot creation.
Formula

A string of text in single quotes of the entire formula. Each resource name must be enclosed in quotes. (ex. '"ResourceName!" AND "ResourceNameB" AND ("ResourceNameC" OR "ResourceNameD")')

Resource tags are to be enclosed in square brackets. Different constraints are described below. For more info on constraint types see Resource Tag Constraint Editor.

  • When defining N resources with tag:
    • "[TagA#2]" will require two resources assigned to TagA
  • All resources with tag:
    • "[TagA#all]" will require all resources assigned to TagA
  • Template List from tag:
    • "[TagA#template]"
  • Resources that utilize all of a list of tags:
    • "[TagA+TagB#1]" will require 1 resource assigned to both TagA and TagB
  • Resources that utilize any of a list of tags:
    • "[TagA/TagB#1]" will require 1 resource assigned to either TagA or TagB

Examples

Allow a task to use either ResA or ResB.

SCHED / NewTask 'TaskB' ResourceFormula Yes '"ResA" OR "ResB"'